package com.gl.emms.whale.bean;

import java.io.Serializable;

/**
 * �û�����
 * 
 * @author way
 */
public class RoomData implements Serializable {
	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	private int id;// QQ����
	private String name;// �ǳ�
	private int group;

	public int getId() {
		return id;
	}

	public void setId(int id) {
		this.id = id;
	}

	public int getGroup() {
		return group;
	}

	public void setGroup(int group) {
		this.group = group;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	

	@Override
	public boolean equals(Object o) {
		if (o instanceof RoomData) {
			RoomData user = (RoomData) o;
			if (user.getId() == id ) {
				return true;
			}
		}

		return false;
	}

	@Override
	public String toString() {
		return "User [id=" + id + ", name=" + name + ", group="
				+ group + "]";
	}
}
